package com.atm.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author lsy
 * @since 2017-12-26
 */
@TableName("zy_tea_picture")
public class ZyTeaPicture extends Model<ZyTeaPicture> {

    private static final long serialVersionUID = 1L;

	private Integer teaId;
	private Integer pictureId;
	/**
	 * 分类标签
	 */
	private String label;
	/**
	 * 同组图片中展示的顺序
	 */
	private Integer sequence;

	public Integer getSequence() {
		return sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public String getLabel() {

		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public Integer getTeaId() {
		return teaId;
	}

	public void setTeaId(Integer teaId) {
		this.teaId = teaId;
	}

	public Integer getPictureId() {
		return pictureId;
	}

	public void setPictureId(Integer pictureId) {
		this.pictureId = pictureId;
	}

	@Override
	protected Serializable pkVal() {
		return this.teaId;
	}

	@Override
	public String toString() {
		return "ZyTeaPicture{" +
			"teaId=" + teaId +
			", pictureId=" + pictureId +
			"}";
	}
}
